home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
mc51bugs.zip
/
Q32754
< prev
next >
Wrap
Text File
|
1988-07-21
|
777b
|
24 lines
Q32754 setvbuf with fread Results in fseek, ftell Inconsistency
C Compiler
5.10 | 5.10
MS-DOS | OS/2
Summary:
A complicated example with the following characteristics will cause
ftell and fseek to report incorrect results:
1. Stream buffer set to a value other than the default 512 with
the function setvbuf
2. Stream is in binary mode
3. Program compiled with small-memory model
4. Specific sequence of fread and fseeks must be issued
(The example is long and complicated and is not reproduced here.)
Microsoft has confirmed this to be a problem in the fread function
in Version 5.10. We are researching this problem and will post new
information as it becomes available.
Keywords: buglist5.10
Updated 88/07/21 03:19